package org.jeecg.modules.friends.user.param;

import org.apache.commons.lang3.StringUtils;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author cold
 * @data 2024/5/16 20:54
 * @version 1.0
 */
@Data
public class DescriptionEditParam {

    private String selfDescription;

    private String familyDescription;

    private String hobbyDescription;

    private String lifePartnerRequirements;
    private String nickName;
    @ApiModelProperty(value = "1：个人描述  2：家庭描述 3：爱好描述 4：另一半描述")
    private int editType;

    public boolean isAnyBlank(){
        return StringUtils.isAnyBlank(familyDescription,hobbyDescription,lifePartnerRequirements,nickName);
    }
}
